package com.yifei.model.vo.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Set;

/**
 * @Description: 用户信息展示类
 * @Author: yiFei
 * @date: 2023/10/2 17:38
 */
@ApiModel(value = "当前登录用户视图对象")
@Data
@Accessors(chain = true)
public class UserInfoVO {

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "头像地址")
    private String avatar;

    @ApiModelProperty(value = "用户角色编码集合")
    private Set<String> roles;

    @ApiModelProperty(value = "用户权限标识集合")
    private Set<String> perms;
}
